Skip to content

Conversation

@MonikaFu
Copy link
Contributor

This PR:

  • modifies exposure techmix plot to resize to div size
  • removes filters from techmix plot
  • orders the bars based on portfolio exposure
  • updates test dataset to align between plots

@MonikaFu MonikaFu changed the title exposure techmix resizes to div Exposure techmix resizes to div Nov 13, 2024
@MonikaFu MonikaFu requested a review from jdhoffa November 13, 2024 21:38
Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor request

Comment on lines +324 to 326
div.d3chart svg .Steel[class*='Electric Arc Furnace'] {
fill: #dbb1bb;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB (and not so related to this PR):
We should probably add logging in case the technology types input to the dashboard are not considered in plot_styles.css. I don't have a better way of doing this in mind, but can imagine that it might lead to some odd bugs in case data isn't as expected, and at the very least we should make it easy for ourselves to debug

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably just make that comment into a new issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added an issue

@MonikaFu MonikaFu requested a review from jdhoffa November 14, 2024 13:08
@MonikaFu MonikaFu merged commit af5ea08 into main Nov 14, 2024
4 of 5 checks passed
@MonikaFu MonikaFu deleted the techmix-resizing branch November 14, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants